import React from "react"
import { BrowserRouter as Router, Route } from "react-router-dom"
import 'antd/dist/antd.css'
import Login from "./Login"
import AdminIndex from './AdminIndex'

const Main = () => {
  return (
    <Router>
      <Route path="/login/" exact component={Login} />
      <Route path="/index/" component={AdminIndex} />
    </Router>
  );
}
export default Main;
